package virtualC;

/************************************************************************
  			curso.java - Copyright gabriel

Here you can write a license for your code, some comments or any other
information you want to have in your generated code. To to this simply
configure the "headings" directory in uml to point to a directory
where you have your heading files.

or you can just replace the contents of this file with your own.
If you want to do this, this file is located at

/usr/share/apps/umbrello/headings/heading.java

-->Code Generators searches for heading files based on the file extension
   i.e. it will look for a file name ending in ".h" to include in C++ header
   files, and for a file name ending in ".java" to include in all generated
   java code.
   If you name the file "heading.<extension>", Code Generator will always
   choose this file even if there are other files with the same extension in the
   directory. If you name the file something else, it must be the only one with that
   extension in the directory to guarantee that Code Generator will choose it.

you can use variables in your heading files which are replaced at generation
time. possible variables are : author, date, time, filename and filepath.
just write %variable_name%

This file was generated on mar nov 4 2008 at 23:22:57
The original location of this file is /home/gabriel/uml-generated-code/nuevo/curso.java
**************************************************************************/


import java.util.*;


/**
 * Class curso
 */
public class curso {

  //
  // Fields
  //

  private int id_curso;
  private String nombreCur;
  private int capacidadMaxima;
  private int id_profesor;
  private String enlaceCur;
  private int tipoCurso;
  
  //
  // Constructors
  //
  public curso () { };
  
  //
  // Methods
  //


  //
  // Accessor methods
  //

  /**
   * Set the value of id_curso
   * @param newVar the new value of id_curso
   */
  private void setId_curso ( int newVar ) {
    id_curso = newVar;
  }

  /**
   * Get the value of id_curso
   * @return the value of id_curso
   */
  private int getId_curso ( ) {
    return id_curso;
  }

  /**
   * Set the value of nombreCur
   * @param newVar the new value of nombreCur
   */
  private void setNombreCur ( String newVar ) {
    nombreCur = newVar;
  }

  /**
   * Get the value of nombreCur
   * @return the value of nombreCur
   */
  private String getNombreCur ( ) {
    return nombreCur;
  }

  /**
   * Set the value of capacidadMaxima
   * @param newVar the new value of capacidadMaxima
   */
  private void setCapacidadMaxima ( int newVar ) {
    capacidadMaxima = newVar;
  }

  /**
   * Get the value of capacidadMaxima
   * @return the value of capacidadMaxima
   */
  private int getCapacidadMaxima ( ) {
    return capacidadMaxima;
  }

  /**
   * Set the value of id_profesor
   * @param newVar the new value of id_profesor
   */
  private void setId_profesor ( int newVar ) {
    id_profesor = newVar;
  }

  /**
   * Get the value of id_profesor
   * @return the value of id_profesor
   */
  private int getId_profesor ( ) {
    return id_profesor;
  }

  /**
   * Set the value of enlaceCur
   * @param newVar the new value of enlaceCur
   */
  private void setEnlaceCur ( String newVar ) {
    enlaceCur = newVar;
  }

  /**
   * Get the value of enlaceCur
   * @return the value of enlaceCur
   */
  private String getEnlaceCur ( ) {
    return enlaceCur;
  }

  /**
   * Set the value of tipoCurso
   * @param newVar the new value of tipoCurso
   */
  private void setTipoCurso ( int newVar ) {
    tipoCurso = newVar;
  }

  /**
   * Get the value of tipoCurso
   * @return the value of tipoCurso
   */
  private int getTipoCurso ( ) {
    return tipoCurso;
  }

  //
  // Other methods
  //

  /**
   * @return       String
   */
/*
  public String getNombreCur(  )
  {

  }
*/

  /**
   * @param        nombre_curso
   */
  public void setNombreCurso( String nombre_curso )
  {

  }


  /**
   * @return       int
   */
  public int getIdCurso(  )
  {
    return 20;
  }


  /**
   * @return       int
   */
/* 
  public int getCapacidadMaxima(  )
  {

  }
*/

  /**
   * @param        capacidad
   */
/*  
  public void setCapacidadMaxima( int capacidad )
  {

  }
*/

  /**
   * @return       String
   * @param        id_profesor
   */
  public String getNombreProfesor( int id_profesor )
  {
    return "profesor";
  }


  /**
   * @return       int
   */
  
/*  
  public int getTipoCurso(  )
  {

  }
*/

  /**
   * @param        tipo_Curso
   */
  
/*  
  public void setTipoCurso( int tipo_Curso )
  {

  }
*/

  /**
   */
  public void accederCurso(  )
  {

  }


  /**
   */
  public void dictarCurso(  )
  {

  }


  /**
   */
  public void crearCurso(  )
  {

  }


}
